package com.shuai.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ApiModel("项目分页查询参数据模型")
public class ProjectPageQueryDTO {
    //项目名称
    private String searchInfo;
    //企业id
    private Long enterpriseId;
    //完成造价评估任务的截止日期
    private LocalDateTime deadline;
    //项目状态
    private Integer status;
    //页码
    private int page;
    //每页显示记录数
    private int pageSize;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

}
